import 'package:flutter_taotaoshipin/pages/home/collect/collect_binding.dart';
import 'package:flutter_taotaoshipin/pages/home/collect/collect_page.dart';
import 'package:flutter_taotaoshipin/pages/home/history/history_binding.dart';
import 'package:flutter_taotaoshipin/pages/home/history/history_page.dart';
import 'package:flutter_taotaoshipin/pages/home/ranking/ranking_binding.dart';
import 'package:flutter_taotaoshipin/pages/home/ranking/ranking_page.dart';
import 'package:get/get.dart';

class HomeRoutes {
  static const String collect = '/home/collect';
  static const String history = '/home/history';
  static const String ranking = '/home/ranking';

  static List<GetPage> routes = [
    GetPage(
      name: collect,
      page: () => const CollectPage(),
      binding: CollectBinding(),
    ),
    GetPage(
      name: history,
      page: () => const HistoryPage(),
      binding: HistoryBinding(),
    ),
    GetPage(
      name: ranking,
      page: () => const RankingPage(),
      binding: RankingBinding(),
    ),
  ];
}
